<<<<<<< HEAD
package com.work.tqyb.ui.activity;

import com.work.tqyb.base.BaseActivity;
import com.work.tqyb.databinding.ActivityWeatherFiveDayBinding;
import com.work.tqyb.http.response.QueryResponse;
import com.work.tqyb.ui.adapter.FutureAdapter;

import java.util.ArrayList;

public class LookFiveDayActivity extends BaseActivity {

    private ActivityWeatherFiveDayBinding binding;
    private FutureAdapter adapter;

    @Override
    public void initData() {
        adapter = new FutureAdapter();
        binding = ActivityWeatherFiveDayBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());
        binding.ibnBack.setOnClickListener(v -> finish());
        binding.lv.setAdapter(adapter);
        String city = getIntent().getStringExtra("city");
        ArrayList<QueryResponse.Future> futureArrayList = (ArrayList<QueryResponse.Future>) getIntent().getSerializableExtra("five");
        binding.city.setText(city);
        adapter.futureArrayList = futureArrayList;
        adapter.notifyDataSetChanged();
    }

    @Override
    public void onViewClick() {

    }

    @Override
    public void observe() {


    }
}
=======
<<<<<<< HEAD
package com.work.tqyb.ui.activity;

import com.work.tqyb.base.BaseActivity;
import com.work.tqyb.databinding.ActivityWeatherFiveDayBinding;
import com.work.tqyb.http.response.QueryResponse;
import com.work.tqyb.ui.adapter.FutureAdapter;

import java.util.ArrayList;

public class LookFiveDayActivity extends BaseActivity {

    private ActivityWeatherFiveDayBinding binding;
    private FutureAdapter adapter;

    @Override
    public void initData() {
        adapter = new FutureAdapter();
        binding = ActivityWeatherFiveDayBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());
        binding.ibnBack.setOnClickListener(v -> finish());
        binding.lv.setAdapter(adapter);
        String city = getIntent().getStringExtra("city");
        ArrayList<QueryResponse.Future> futureArrayList = (ArrayList<QueryResponse.Future>) getIntent().getSerializableExtra("five");
        binding.city.setText(city);
        adapter.futureArrayList = futureArrayList;
        adapter.notifyDataSetChanged();
    }

    @Override
    public void onViewClick() {

    }

    @Override
    public void observe() {


    }
}
=======
package com.work.tqyb.ui.activity;

import com.work.tqyb.base.BaseActivity;
import com.work.tqyb.databinding.ActivityWeatherFiveDayBinding;
import com.work.tqyb.http.response.QueryResponse;
import com.work.tqyb.ui.adapter.FutureAdapter;

import java.util.ArrayList;

public class LookFiveDayActivity extends BaseActivity {

    private ActivityWeatherFiveDayBinding binding;
    private FutureAdapter adapter;

    @Override
    public void initData() {
        adapter = new FutureAdapter();
        binding = ActivityWeatherFiveDayBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());
        binding.ibnBack.setOnClickListener(v -> finish());
        binding.lv.setAdapter(adapter);
        String city = getIntent().getStringExtra("city");
        ArrayList<QueryResponse.Future> futureArrayList = (ArrayList<QueryResponse.Future>) getIntent().getSerializableExtra("five");
        binding.city.setText(city);
        adapter.futureArrayList = futureArrayList;
        adapter.notifyDataSetChanged();
    }

    @Override
    public void onViewClick() {

    }

    @Override
    public void observe() {


    }
}
>>>>>>> 4884a6e (demo)
>>>>>>> 54e0208 (demo)
